package com.crb.crm.manage.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

/**
 * @author huangjian
 */
public class TemplateModel extends BaseRowModel {
    @ExcelProperty(value = "名称", index = 0)
    private String name;
    @ExcelProperty(value = "编码", index = 1)
    private String code;
    @ExcelProperty(value = "模板内容", index = 2)
    private String content;
    @ExcelProperty(value = "错误原因", index = 4)
    private String errors;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getErrors() {
        return errors;
    }

    public void setErrors(String errors) {
        this.errors = errors;
    }

    @Override
    public String toString() {
        return "TemplateModel{" +
                "name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", content='" + content + '\'' +
                ", errors='" + errors + '\'' +
                '}';
    }
}